home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compute! Gazette 1992 January
/
1992-01.d64
/
ms demo 3
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-09-20
|
383b
|
19 lines
10 sys 49152
20 v1=53153:v2=53201
30 c1=0
40 c2=0
100 print chr$(5);chr$(147);
110 print "1st color=";c1
120 print "2nd color=";c2
122 print
123 print "press 1 to increment 1st color"
124 print "press 2 to increment 2nd color"
125 print "press q to quit"
130 poke v1+32,c1:poke v1+33,c1
140 poke v2+32,c2:poke v2+33,c2
150 get a$
160 if a$="1" then c1=c1+1 and 15:goto 100
170 if a$="2" then c2=c2+1 and 15:goto 100
175 if a$="q" then end
180 goto 150